﻿namespace WebApplication1
{
    public class MyTask
    {
        [My("Test1")]
        public void Test1()
        {
            Console.WriteLine(string.Format("{0}任务1", DateTime.Now.ToString("mm:ss")));
        }
        [My("Test2")]
        public void Test2()
        {
            Console.WriteLine(string.Format("{0}任务2", DateTime.Now.ToString("mm:ss")));
        }
        [My("Test3")]
        public void Test3()
        {
            Console.WriteLine(string.Format("{0}任务3", DateTime.Now.ToString("mm:ss")));
        }
        [My("Test4")]
        public void Test4()
        {
            Console.WriteLine(string.Format("{0}任务4", DateTime.Now.ToString("mm:ss")));
        }
    }
}
